package com.tledu.course.domain;

import java.util.List;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 章节管理对象 section_management
 * 
 * @author Ghost
 * @date 2021-07-13
 */
public class SectionManagement extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 章节ID */
    private Long sectionId;

    /** 课程ID */
    @Excel(name = "课程ID")
    private Long courseId;

    /** 章节名称 */
    @Excel(name = "章节名称")
    private String sectionName;

    /** 章节序列 */
    @Excel(name = "章节序列")
    private String sectionSequence;

    /** 章节备注 */
    @Excel(name = "章节备注")
    private String sectionRemark;

    /** 乐观锁 */
    @Excel(name = "乐观锁")
    private Long revision;

    /** 逻辑删除 */
    @Excel(name = "逻辑删除")
    private Long deleted;

    /** 子章节信息 */
    private List<SonSection> sonSectionList;

    public void setSectionId(Long sectionId)
    {
        this.sectionId = sectionId;
    }

    public Long getSectionId()
    {
        return sectionId;
    }
    public void setCourseId(Long courseId)
    {
        this.courseId = courseId;
    }

    public Long getCourseId()
    {
        return courseId;
    }
    public void setSectionName(String sectionName) 
    {
        this.sectionName = sectionName;
    }

    public String getSectionName() 
    {
        return sectionName;
    }
    public void setSectionSequence(String sectionSequence) 
    {
        this.sectionSequence = sectionSequence;
    }

    public String getSectionSequence() 
    {
        return sectionSequence;
    }
    public void setSectionRemark(String sectionRemark) 
    {
        this.sectionRemark = sectionRemark;
    }

    public String getSectionRemark() 
    {
        return sectionRemark;
    }
    public void setRevision(Long revision) 
    {
        this.revision = revision;
    }

    public Long getRevision() 
    {
        return revision;
    }
    public void setDeleted(Long deleted) 
    {
        this.deleted = deleted;
    }

    public Long getDeleted() 
    {
        return deleted;
    }

    public List<SonSection> getSonSectionList()
    {
        return sonSectionList;
    }

    public void setSonSectionList(List<SonSection> sonSectionList)
    {
        this.sonSectionList = sonSectionList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("sectionId", getSectionId())
            .append("courseId", getCourseId())
            .append("sectionName", getSectionName())
            .append("sectionSequence", getSectionSequence())
            .append("sectionRemark", getSectionRemark())
            .append("revision", getRevision())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("deleted", getDeleted())
            .append("sonSectionList", getSonSectionList())
            .toString();
    }
}
